package uk.co.sheitgeist.fums.server.upnp

import org.cybergarage.upnp.Device;
import com.cidero.util.MrUtil;

public class MediaServer extends Device {
  
	private final static String DESCRIPTION_FILE_NAME = "src/uk/co/sheitgeist/fums/server/upnp/description/FairlyUniversalMediaServer.xml";

  	ConnectionManager connectionManager;
  	ContentDirectory  contentDirectory;

	public MediaServer() {
	 /*
	Invoke constructor of UPNP device superclass. This 
parses the XML device and service descriptions, and builds in-memory 
representations
    	*/
		super( MrUtil.getResourceAsFile(DESCRIPTION_FILE_NAME) );
		setNMPRMode( true );
		setWirelessMode( true );   // send redundant copies of SSDP packets

		connectionManager = new ConnectionManager(this)
		contentDirectory = new ContentDirectory(this)

	}

}
